<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
const onDetail = (pathname: string) => {
  router.push(pathname);
};
</script>

<template>
  <van-cell-group inset class="cell-list mt-md">
    <van-cell
      title="邮箱"
      is-link
      value="1234@hexinjingu.com"
      @click="onDetail('/base/changeEmail')"
    />
    <van-cell
      title="电话"
      is-link
      value="+ 86-13104561234"
      @click="onDetail('/base/changePhone')"
    />
  </van-cell-group>
</template>

<style scoped lang="scss">
</style>
